package starkuz.lg.dao.ifaces;

import starkuz.lg.model.Order;

import java.util.List;

public interface OrderDao {

    public List<Order> getAllOrders();

    public List<Order> getAllOrdersBySiteId(Integer siteId);

    public List<Order> getAllOrdersByUserId(Integer userId);

    public void addOrder(Order order);

    public Integer countOrderBySiteId(Integer siteId);

    public Integer countOrderByUserId(Integer siteId);

}
